
package com.insigma.business.qrcode.soldier.service;



import com.insigma.business.qrcode.soldier.dto.CareSoldierVisitedRecordBSearcher;
import com.insigma.business.qrcode.soldier.dto.CareVisitUnifyRecordBO;
import com.insigma.business.qrcode.soldier.entity.CareSoldierVisitedRecordDO;
import com.insigma.business.qrcode.soldier.entity.DataStatsCDO;

import java.util.List;


public interface CareSoldierVisitedRecordService {

   
    List<CareSoldierVisitedRecordDO> search(final CareSoldierVisitedRecordBSearcher innerSearcher);

    
    CareSoldierVisitedRecordDO get(final String id);

    
    Integer insert(final CareSoldierVisitedRecordDO careSoldierVisitedRecord);

    
    Integer update(final CareSoldierVisitedRecordDO careSoldierVisitedRecord);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

 CareSoldierVisitedRecordDO getByFormInstId(String formInstId);

    Integer count(CareSoldierVisitedRecordBSearcher bSearcher);

    CareSoldierVisitedRecordDO getByBizId(String bizId);

    Integer countDifficulty(String adminAreaCode);

    List<DataStatsCDO> groupDifficultyVisitType(String adminAreaCode);

    List<DataStatsCDO> groupDifficultyVisitAreaMap(String adminAreaCode);

    List<DataStatsCDO> groupVisitAreaMap(String adminAreaCode);

    Integer isVisitedOfMonth(String idCardNo, String month);

    CareSoldierVisitedRecordDO getNewestByIdCardNo(String idCardNo);

    List<CareVisitUnifyRecordBO> searchUnifyRecord(CareSoldierVisitedRecordBSearcher searcher);

    List<DataStatsCDO> groupEvaluationCountMap(String adminAreaCode);

    List<DataStatsCDO> groupEvaluationSumMap(String adminAreaCode);

    Integer countByAreaAndTime(String adminAreaCode, String month);

    List<DataStatsCDO> groupEvaluationScoreMap(String adminAreaCode);
}
